gtkplacesview: tweak ui to allow more server rows
authorCarlos Soriano <csoriano@gnome.org>
Wed, 23 Sep 2015 17:55:11 +0000 (19:55 +0200)
committerCarlos Soriano <csoriano@gnome.org>
Thu, 15 Oct 2015 17:18:54 +0000 (19:18 +0200)
Following design guidance, reduce row height and increase
popover height so the user is allowed to see more than 3
rows.

https://bugzilla.gnome.org/show_bug.cgi?id=756568

gtk/gtkplacesview.c
gtk/ui/gtkplacesview.ui

index 957eeb896d4264aac8f89257141ea71fa1c3e14a..82c755e719999027d9a8cb0dcd5b54e23521a00b 100644 (file)
@@ -556,7 +556,7 @@ populate_servers (GtkPlacesView *view)
 
       grid = g_object_new (GTK_TYPE_GRID,
                            "orientation", GTK_ORIENTATION_VERTICAL,
-                           "border-width", 6,
+                           "border-width", 3,
                            NULL);
 
       /* name of the connected uri, if any */
index cd19b10157e18242f995a7a892d983b0ea134cd5..d554c28d095bedecdbadd29da199882fa4b08f41 100644 (file)
@@ -75,7 +75,7 @@
                 <property name="vexpand">1</property>
                 <property name="shadow_type">in</property>
                 <property name="min_content_width">250</property>
-                <property name="min_content_height">150</property>
+                <property name="min_content_height">200</property>
                 <child>
                   <object class="GtkViewport">
                     <property name="visible">1</property>